
#ifndef _MEMBER_BMOVIE_H_
#define _MEMBER_BMOVIE_H_

#include <BImage>
#include <BMovie>

#define movie_member(movie)		((member_BMovie*)((BMovie*)movie)->_ptr)

namespace BWE
{
	class member_BMovie
	{
	public:
		member_BMovie(BMovie* movie);
		~member_BMovie();

		void update(BReal time);

		BMovie*				boss;
		int					current;
		BReal				tick;
		BReal				duration;
		int					speed;
		bool				loop;
		bool				paused;
		bool				dirty;
		BArray<BByteArray>	pixelsArray;
	};
}

#endif
